package com.lab303.powerproject.pojo;

public class CustomRelationshipObject {

    private Integer id;
    private Integer deviceFrom;
    private Integer deviceTo;
    private String deviceFromName;
    private String deviceToName;
    private float lossRate;
    private int typeId;
    private String typeName;
    private Integer graphId;
    private String graphName;
    private Integer isShard;
    private String stgyCode;
    private Integer stgyType;

    public CustomRelationshipObject() {
    }

    public CustomRelationshipObject(Integer id, Integer deviceFrom, Integer deviceTo, float lossRate, Integer typeId, String typeName, Integer graphId,Integer isShard) {
        this.id = id;
        this.deviceFrom = deviceFrom;
        this.deviceTo = deviceTo;
        this.lossRate = lossRate;
        this.typeId = typeId;
        this.typeName = typeName;
        this.graphId = graphId;
        this.isShard = isShard;
    }

    public CustomRelationshipObject(Integer id, Integer deviceFrom, Integer deviceTo, float lossRate, Integer typeId, String typeName, Integer graphId,Integer isShard,String stgyCode,Integer stgyType) {
        this.id = id;
        this.deviceFrom = deviceFrom;
        this.deviceTo = deviceTo;
        this.lossRate = lossRate;
        this.typeId = typeId;
        this.typeName = typeName;
        this.graphId = graphId;
        this.isShard = isShard;
        this.stgyCode = stgyCode;
        this.stgyType = stgyType;
    }
    public Integer getDeviceFrom() {
        return deviceFrom;
    }

    public void setDeviceFrom(Integer deviceFrom) {
        this.deviceFrom = deviceFrom;
    }

    public Integer getDeviceTo() {
        return deviceTo;
    }

    public void setDeviceTo(Integer deviceTo) {
        this.deviceTo = deviceTo;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceFromName() {
        return deviceFromName;
    }

    public void setDeviceFromName(String deviceFromName) {
        this.deviceFromName = deviceFromName;
    }

    public String getDeviceToName() {
        return deviceToName;
    }

    public void setDeviceToName(String deviceToName) {
        this.deviceToName = deviceToName;
    }

    public float getLossRate() {
        return lossRate;
    }

    public void setLossRate(float lossRate) {
        this.lossRate = lossRate;
    }

    public int getTypeId() {
        return typeId;
    }

    public void setTypeId(int typeId) {
        this.typeId = typeId;
    }

    public String getTypeName() {
        return typeName;
    }

    public void setTypeName(String typeName) {
        this.typeName = typeName;
    }

    public Integer getGraphId() {
        return graphId;
    }

    public void setGraphId(Integer graphId) {
        this.graphId = graphId;
    }

    public String getGraphName() {
        return graphName;
    }

    public void setGraphName(String graphName) {
        this.graphName = graphName;
    }

    public Integer getIsShard() {
        return isShard;
    }

    public void setIsShard(Integer isShard) {
        this.isShard = isShard;
    }

    public String getStgyCode() {
        return stgyCode;
    }

    public void setStgyCode(String stgyCode) {
        this.stgyCode = stgyCode;
    }

    public Integer getStgyType() {
        return stgyType;
    }

    public void setStgyType(Integer stgyType) {
        this.stgyType = stgyType;
    }
}
